package com.blog.back.dao;

import com.blog.back.entity.Draw;
import com.blog.util.page.BaseRepository;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface DrawDao  extends BaseRepository<Draw,Integer> {

  List<Draw> findByFlagAndCustomerType( String cc,String type);
  List<Draw> findByCustomerType( String cc);

  Draw findByName(String name);
}

